package com.diko.ucenter.service;

import com.diko.ucenter.entity.Member;
import com.diko.ucenter.entity.Member2;
import com.baomidou.mybatisplus.extension.service.IService;
import com.diko.ucenter.entity.vo.LoginVo;
import com.diko.ucenter.entity.vo.RegisterVo;
import com.diko.ucenter.entity.vo.SocialUserVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author Emma-Li
 * @since 2021-03-28
 */
public interface Member2Service extends IService<Member2> {
    Member2 getByOpenid(String openid);

    void register(RegisterVo registerVo);

    Member2 login(SocialUserVo socialUserVo) throws Exception;

    String login(LoginVo loginVo);

    Member2 getLoginInfo(String memberId);

}
